Skip to content

feat(conversation_service): implement core session management with OT…#52

Merged
OhYee merged 1 commit intomainfrom
feat/session-state
Feb 12, 2026
Merged

feat(conversation_service): implement core session management with OT…#52
OhYee merged 1 commit intomainfrom
feat/session-state

Conversation

@TJKkking
Copy link
Collaborator

@TJKkking TJKkking commented Feb 12, 2026

…S backend

This commit introduces the Conversation Service module, which provides session state persistence capabilities using Alibaba Cloud TableStore (OTS). Key components include:

SessionStore: Manages session CRUD operations and cascading deletes. OTSBackend: Encapsulates OTS SDK operations for table creation and data manipulation. Data Models: Defines core data structures for sessions, events, and states. Utilities: Provides helper functions for state serialization and timestamp generation. Documentation: Includes usage examples and design documentation. Additionally, a new dependency on tablestore has been added to pyproject.toml to support the OTS operations.

Thank you for creating a pull request to contribute to Serverless Devs agentrun-sdk-python code! Before you open the request please answer the following questions to help it be more easily integrated. Please check the boxes "[ ]" with "[x]" when done too.
Please select one of the PR types below to complete


Fix bugs

Bug detail

The specific manifestation of the bug or the associated issue.

Pull request tasks

  • Add test cases for the changes
  • Passed the CI test

Update docs

Reason for update

Why do you need to update your documentation?

Pull request tasks

  • Update Chinese documentation
  • Update English documentation

Add contributor

Contributed content

  • Code
  • Document

Content detail

if content_type == 'code' || content_type == 'document':
    please tell us `PR url`,like: https://github.com/Serverless-Devs/agentrun-sdk-python/pull/1
else:
    please describe your contribution in detail

Others

Reason for update

Why do you need to update your documentation?

…S backend

This commit introduces the Conversation Service module, which provides session state persistence capabilities using Alibaba Cloud TableStore (OTS). Key components include:

SessionStore: Manages session CRUD operations and cascading deletes.
OTSBackend: Encapsulates OTS SDK operations for table creation and data manipulation.
Data Models: Defines core data structures for sessions, events, and states.
Utilities: Provides helper functions for state serialization and timestamp generation.
Documentation: Includes usage examples and design documentation.
Additionally, a new dependency on tablestore has been added to pyproject.toml to support the OTS operations.

Signed-off-by: 寒光 <2510399607@qq.com>
@OhYee OhYee merged commit 51f3bdf into main Feb 12, 2026
1 of 2 checks passed
@OhYee OhYee deleted the feat/session-state branch February 12, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants